package com.ruoyi.exam.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试对象 p_exam
 *
 * @author ruoyi
 * @date 2022-01-05
 */
@Data
public class PExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 考试名称 */
    @Excel(name = "考试名称")
    private String examName;

    /** 考试描述 */
    private String examDesc;

    /** 1完全公开  2需要密码 */
    private Long type;
    private Long type1;

    /** 考试人群ID */
    private String password;

    /** 考试时长 */
    private String duration;

    /** 考试开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考试开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 考试结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考试结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 考试总分 */
    private int totalScore;

    /** 考试通过线 */
    private int passScore;

    /** 1有效 2无效 */
    private Long status;

    private String treeTransferLeft;
    private String treeTransferRight;


    private Integer equipmentId;

    private Integer userId;

}
